home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 November: Tool Chest / Dev.CD Nov 98 TC.toast / What's New? / Development Kits / NSL 1.0 SDK / NSL 1.0 SDK Read Me < prev   
Encoding:
Text File  |  1998-10-05  |  4.6 KB  |  89 lines  |  [ttro/ttxt]

  1.   
  2.  
  3. Welcome to the Network Services Location 1.0
  4. Software Developers Kit
  5.  
  6. This SDK contains the information you need to take advantage of or extend the functionality of Network Services Location 1.0. 
  7.  
  8.  
  9. READ ME CONTENTS 
  10.  
  11. Introduction
  12. Requirements
  13. Contents of the SDK
  14. Installation & Setup Instructions
  15. Additional API calls not included in the documentation
  16. NSL Demo Tool
  17. Developer Support
  18.  
  19.  
  20. Introduction
  21.  
  22. With the introduction of the Chooser and AppleTalk, Apple offered unprecedented ease-of-use by allowing users to browse for network services such as printers and file servers.  With the introduction of the Network Services Location (NSL) Technology, Apple is bringing that ease-of-use to the Internet  by providing the ability to browse through Internet services such as FTP and HTTP via TCP/IP similarly to the way users traditionally browse for AppleTalk services using the Chooser.  NSL provides a protocol-independent way for applications to discover available network services with minimal network traffic.  By adopting this technology, applications can provide a better end user experience for users looking for network services.  Within this SDK, you will find detailed developer documentation, interfaces, libraries and sample code that will allow you to develop your applications and plug-ins using the NSL APIs.
  23.  
  24. Please read through this entire Read Me file for required development environment specifications, installation instructions, etc.  Please refer to the accompanying developer documentation for further detail on using the NSL software and APIs.
  25.  
  26.  
  27. Requirements 
  28.  
  29. For development purposes, this software requires a PowerPC running system software Mac OS 8.0 or later and Open Transport 1.2 or later. The NSL 1.0 product will only be available and qualified with Mac OS 8.5, which includes Open Transport 2.0.
  30.  
  31.  
  32. Contents of the SDK
  33.  
  34. • NSL 1.0 SDK Read Me (this document) 
  35. • NSL Manager, DNS and SLP plug-ins.
  36. • Final revision of the NSL Developer Documentation
  37. • Final revision of the NSL Network Administrator's Guide
  38. • NSL Demo Tool
  39. • NSLAPI SampleTest application and source code
  40. • NSL Header files
  41.  
  42.  
  43. Installing the NSL SDK
  44.  
  45. 1. For Pre-Mac OS 8.5 systems, drag the NSL shared library (file name "NSLPPCLib") and the two NSL plug-ins (file names "NDSPlugin", "SLPPlugin") to the Extensions folder inside the System Folder.
  46.  
  47. 2. Restart your computer.  Restarting is highly recommended to be certain that the correct libraries are loaded when the NSL application is launched.
  48.  
  49.  
  50. Setting up DNS Servers
  51.  
  52. To test with a DNS server, enter data as DNS TXT records. Each line consists of a URL.  The format of the text record is as follows:
  53.  
  54.           <hostname> <TTL> TXT <URL>
  55.  
  56. To avoid time out problems, make sure the nameserver specified in the TCP/IP control panel is active and reachable.
  57.  
  58.  
  59. Additional API calls and comments not included in the documentation
  60.  
  61. The following API call in "NSLAPI.h" is not included in the "NSL Developer Documentation.pdf" file:
  62. pascal void NSLGetNameFromNeighborhood( NSLNeighborhood neighborhood, char** name, long* length );
  63.  
  64. This call will set the pointer contained in "name" to point to a null terminated "cstring" containing the textual name of a neighborhood.  This call allocates memory and the user must call DisposePtr on the result (if not nil).
  65.  
  66. Additional Note on the API call NSLGetNextUrl:
  67. pascal Boolean NSLGetNextUrl( ClientAsyncInfoPtr infoPtr, char** urlPtr, long* urlLength )
  68.  
  69. It is important that you set the value of *urlPtr to nil the first time you call this function with new results.  For example:
  70.  
  71. Ptr newURL = nil;
  72. NSLGetNextURL( infoPtr, &newURL, &urlLen );
  73.  
  74. This is because the manager uses the value of this pointer to determine state information while it is parsing your result buffer.
  75.  
  76. NSL Demo Tool
  77.  
  78. The NSL Demo Tool is a representation of how to browse and select services via TCP/IP and is not intended as the final user interface for NSL capabilities.  The NSL Demo is a sampling of the NSL technology and the new capabilities offered with the NSL product now available to customers.
  79.  
  80.  
  81. Developer Support
  82.  
  83. If you have questions regarding the NSL 1.0 SDK package, please send these to dts@apple.com.  For further developer support, refer to the Apple Developer web site located at http://www.apple.com/developer.
  84.  
  85.  
  86.  
  87. (09/24/98)
  88.  
  89. © 1997-1998 Apple Computer, Inc. All rights reserved. Apple, the Apple logo, AppleShare, Mac, Macintosh, MacOS and OpenTransport are trademarks of Apple Computer, Inc., registered in the United States and other countries. PowerPC is a trademark of International Business Machines Corporation, used under license therefrom. All other product names are trademarks or registered trademarks of their respective holders.